import React from "react";
import './style.css'
import { useNavigate } from "react-router-dom";
import img2 from '../../assets/interview_news.png'
const MyInterrogation = () =>{
    const navigate = useNavigate()
    const next = () =>{
        navigate('/Consultationmessage')
    }
    return(
        <div className="box-MyInterrogation">
            <div className="MyInterrogation" onClick={()=>next()}>
                <img src={img2} alt="" />
                <p>问诊消息</p>
            </div>
        </div>
    )
}
export default MyInterrogation